<div class="modal fade" id="customeModal">
	<div class="modal-dialog w800">
		<div class="modal-content">
			<div class="modal-header">
				<h4>添加客户</h4>
				<i class="fa fa-times" aria-hidden="true" data-dismiss="modal"></i>
			</div>
			<div class="modal-body">
				<form class="add-custome-info2">
					<table class="table table-bordered">
						<tr>
							<td class="fbold" width="12%"><strong class="red">*</strong>姓名</td>
							<td width="39%">
								<input type="text" name="username" class="form-control required-text width100 username">
								<span class="error-item">必填项</span>
							</td>
							<td class="fbold" width="10%"><strong class="red">*</strong>性别</td>
							<td width="39%">
								<label class="radio-inline"><input type="radio" name="gender" value='1' autocomplete="off">男</label>
								<label class="radio-inline"><input type="radio" name="gender" value='2' autocomplete="off">女</label>
								<span class="error-item">必填项</span>
							</td>
						</tr>
						<tr>
							<td class="fbold"><strong class="red">*</strong>公司名称</td>
							<td>
								<input type="text" name="company_name" class="form-control required-text company_name">
								<span class="error-item">必填项</span>
							</td>
							<td class="fbold">职位</td>
							<td>
								<input type="text" name="job" class="form-control job">
								<select name="job_level" class="w150 marginLeft10 job_level">
									<foreach name="job_level" item="vo">
										<option value="{$vo['id']}">{$vo['name']}</option>
									</foreach>
								</select>
							</td>
						</tr>
						<tr>
							<td class="fbold"><strong class="red">*</strong>手机号</td>
							<td>
								<input class="form-control mobilephone" type="text" name="mobilephone" maxlength="11" placeholder="手机号或座机号必须填写一项">
								<div class="error-item">请填写正确的手机号</div>
							</td>
							<td class="fbold">座机号</td>
							<td>
								<input class="form-control telephone" type="text" name="telephone" placeholder="手机号或座机号必须填写一项">
								<div class="error-item">请填写正确的座机号</div>
							</td>
						</tr>
						<tr>
							<td class="fbold">QQ</td>
							<td>
								<input type="text" name="qq" class="form-control qq">
								<div class="error-item">请填写正确的QQ</div>
							</td>
							<td class="fbold">邮箱</td>
							<td>
								<input type="text" name="email" class="form-control email">
								<div class="error-item">请填写正确的邮箱</div>
							</td>
						</tr>
						<tr>
							<td class="fbold">生日</td>
							<td>
								<input type="text" name="birthday" class="form-control birthday">
							</td>
							<td class="fbold">爱好</td>
							<td>
								<input type="text" name="hobby" class="form-control hobby">
							</td>
						</tr>
						<tr>
							<td class="fbold">微信</td>
							<td>
								<input type="text" name="wx" class="form-control wx">
							</td>
							<td class="fbold">决策关系</td>
							<td>
								<select name="decision_relation" class="form-control w100 decision_relation" autocomplete="off">
									<foreach name="relation" item="vo">
										<option value="{$vo['id']}">{$vo['name']}</option>
									</foreach>
								</select>
							</td>
						</tr>
						<tr>
							<td class="fbold">地址</td>
							<td colspan="3">
								<select name="province_id" class="w150 province_id">
									<option value="-10">省</option>
									<foreach name="province_list" item="vo">
										<option value="{$vo['id']}">{$vo['name']}</option>
									</foreach>
								</select>
								<select id="city_id" name="city_id" class="w150 marginLeft10 city_id">
									<option value="-10">市</option>
								</select>
								<span class="error-item">省市必填</span>
								<input class="form-control address" style="width: 274px" type="text" name="address" placeholder="详细地址（可不填）">
							</td>
						</tr>
						<tr>
							<td class="fbold">备注</td>
							<td colspan="3">
								<input class="form-control remark" type="text" name="remark" style="width:580px;">
								<input type="hidden" name="project_id" value="{$project_id}">
								<input type="hidden" name="contact_id">
								<input type="hidden" name="action">
								<input type="hidden" name="refresh">
							</td>
						</tr>
					</table>
					<div class="clearboth mt10">
						<div class="right">
							<span class="ajax_error_tip2 error-item hide mr10"></span><input type="button" class="btn btn-card" value="提交"><button type="button" class="btn btn-default ml5" data-dismiss="modal">取消</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>